package com.ljm.service;

import com.ljm.dao.LoginDao;
import com.ljm.dao.LoginDaoImpl;

public class LoginServiceImpl implements LoginService{
    @Override
    public int validateUserAndPwd(String username, String password) {
        //调用dao层
        //创建dao层对象
        LoginDao Id = new LoginDaoImpl();
        return Id.validateDateBase(username,password);
    }
}
